calculating the original price